package situ.com.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyBroadcastReceiverTwo extends BroadcastReceiver {
    private static final String TAG = "MyReceiverTwo";
    
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d(TAG, "自定义的广播接收者Two,接收到了广播事件");
        abortBroadcast(); //拦截有序广播
        Log.d(TAG,"我是广播接收者Two，广播被我终结了");
    }
}
